
  button,[role="button"],select,summary,input:not([type="checkbox"],[type="radio"]){min-height:2.25rem}
  /* JAPANESE GRAFFITI THEME — Nov 22, 2026: black / red / gray, always dark.
     One palette for every visitor: the old light theme is gone. */
  :root{
    --bg:#0a0a0c; --bg2:#111114; --surface:#16161a; --surface2:#1e1e24;
    --ink:#f2f2f4; --muted:#9aa0a8; --line:#2c2c33;
    --accent:#e53238; --accent-ink:#ffffff; --accent-soft:#3d0d12;
    --amber:#e0a83e; --danger:#ff5b68; --good:#c9ced6;
    --game-bg:#070708; --game-panel:#101014; --game-line:#26262c; --game-ink:#f2f2f4;
    --radius:14px;
    color-scheme: dark;
  }
  @media (prefers-color-scheme: dark){
    :root{
      --bg:#0a0a0c; --bg2:#111114; --surface:#16161a; --surface2:#1e1e24;
      --ink:#f2f2f4; --muted:#9aa0a8; --line:#2c2c33;
      --accent:#e53238; --accent-ink:#ffffff; --accent-soft:#3d0d12;
      --amber:#e0a83e; --danger:#ff5b68; --good:#c9ced6;
      color-scheme: dark;
    }
  }
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;background:var(--bg);color:var(--ink);line-height:1.5}
  .mono{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
  a{color:var(--accent)}
  /* ---------- top bar ---------- */
  .topbar{position:sticky;top:0;z-index:60;background:color-mix(in srgb, var(--bg) 88%, transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
  .topbar-in{max-width:1180px;margin:0 auto;padding:.55rem 1rem;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
  .brand{font-weight:900;font-size:1.35rem;letter-spacing:.04em;text-decoration:none;color:var(--ink)}
  .brand span{color:var(--accent)}
  .brand small{display:block;font-size:.62rem;font-weight:700;letter-spacing:.22em;color:var(--muted)}
  .brand-logo{height:34px;width:auto;vertical-align:middle;margin-right:8px}
  .hero-logo{display:block;max-width:340px;width:100%;height:auto;margin:0 auto 10px}
  .footer-logo{height:26px;width:auto;vertical-align:middle;margin-right:8px}
  nav.main{display:flex;gap:.25rem;margin-left:auto;flex-wrap:wrap}
  nav.main a{color:var(--ink);text-decoration:none;font-weight:700;font-size:.92rem;padding:.5rem .7rem;border-radius:8px;min-height:2.25rem;display:inline-flex;align-items:center}
  nav.main a:hover{background:var(--surface2)}
  .cart-btn{position:relative;background:var(--ink);color:var(--bg);border:0;border-radius:9px;padding:.55rem .9rem;font:inherit;font-weight:800;cursor:pointer;min-height:2.5rem}
  .cart-count{position:absolute;top:-7px;right:-7px;background:var(--accent);color:var(--accent-ink);border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center;font-size:.75rem;font-weight:800;padding:0 5px}
  /* ---------- hero ---------- */
  .hero{background:var(--game-bg);color:var(--game-ink);border-bottom:3px solid var(--accent)}
  .hero-in{max-width:1180px;margin:0 auto;padding:2.6rem 1rem 2.2rem}
  .hero h1{font-size:clamp(2.6rem,8vw,5.2rem);line-height:.95;margin:0;font-weight:900;letter-spacing:.01em}
  .hero h1 .cy{color:#e53238}
  .hero p.lede{max-width:620px;font-size:1.08rem;color:#b9bcc2;margin:1rem 0 1.4rem}
  .hero-cta{display:flex;gap:.6rem;flex-wrap:wrap}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border-radius:10px;padding:.7rem 1.15rem;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;border:1px solid transparent;min-height:2.75rem}
  .btn-accent{background:#e53238;color:#ffffff}
  .btn-ghost{background:transparent;color:var(--game-ink);border-color:#3d3d46}
  .hero .btn-ghost{color:#f2f2f4}
  .hero-stats{display:flex;gap:1.4rem;flex-wrap:wrap;margin-top:1.8rem;border-top:1px solid #232329;padding-top:1rem}
  .hero-stats div b{display:block;font-size:1.25rem}
  .hero-stats div span{font-size:.8rem;color:#9aa0a8;letter-spacing:.06em;text-transform:uppercase}
  /* ---------- sections ---------- */
  main{max-width:1180px;margin:0 auto;padding:0 1rem 3rem}
  section.blk{padding:2.4rem 0 0;scroll-margin-top:4.5rem}
  .sec-head{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap;margin-bottom:.4rem}
  .sec-head h2{font-size:clamp(1.7rem,4.5vw,2.4rem);margin:0;font-weight:900}
  .sec-head .tag{font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
  .sec-sub{color:var(--muted);max-width:680px;margin:.2rem 0 1.2rem}
  /* ---------- game shells ---------- */
  .game-shell{background:var(--game-bg);color:var(--game-ink);border:1px solid var(--game-line);border-radius:var(--radius);overflow:hidden}
  .hud{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;padding:.6rem .75rem;background:var(--game-panel);border-bottom:1px solid var(--game-line)}
  .hud .stat{background:#0d0d10;border:1px solid var(--game-line);border-radius:8px;padding:.35rem .65rem;font-size:.85rem}
  .hud .stat b{color:#e53238}
  .hud .spacer{flex:1}
  .gbtn{background:#17171c;color:#f2f2f4;border:1px solid #33333c;border-radius:9px;padding:.55rem .95rem;font:inherit;font-weight:800;cursor:pointer;min-height:2.5rem}
  .gbtn:hover{border-color:#e53238}
  .gbtn.primary{background:#e53238;color:#ffffff;border-color:#e53238}
  .gbtn:disabled{opacity:.45;cursor:not-allowed}
  .gbtn[aria-pressed="true"]{background:#e53238;color:#ffffff;border-color:#e53238}
  .gbtn.warn[aria-pressed="true"]{background:#e0a83e;border-color:#e0a83e}
  canvas#nexusCanvas{display:block;width:100%;height:auto;touch-action:none;background:#070708}
  .tower-bar{display:flex;gap:.5rem;flex-wrap:wrap;padding:.65rem .75rem;background:var(--game-panel);border-top:1px solid var(--game-line);align-items:center}
  .tower-bar .lbl{font-size:.8rem;color:#9aa0a8;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-right:.2rem}
  .tower-btn{display:flex;flex-direction:column;align-items:flex-start;gap:0;background:#0d0d10;border:1px solid var(--game-line);color:#f2f2f4;border-radius:9px;padding:.45rem .7rem;font:inherit;cursor:pointer;min-height:3rem;text-align:left}
  .tower-btn b{font-size:.9rem}
  .tower-btn span{font-size:.75rem;color:#9aa0a8}
  .tower-btn[aria-pressed="true"]{border-color:#e53238;background:#3d0d12}
  .tower-btn:disabled{opacity:.4;cursor:not-allowed}
  .game-msg{padding:.55rem .75rem;font-size:.92rem;background:#0d0d10;border-top:1px solid var(--game-line);min-height:2.4rem}
  .howto{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.8rem;margin-top:1rem}
  .howto div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:.9rem 1rem}
  .howto b{display:block;margin-bottom:.25rem}
  .howto p{margin:0;color:var(--muted);font-size:.92rem}
  /* ---------- chess ---------- */
  .chess-wrap{display:grid;grid-template-columns:1fr 300px;gap:0}
  #chessMount{position:relative;min-height:420px;background:radial-gradient(120% 100% at 50% 0%, #141416 0%, #070708 70%)}
  #chessMount canvas{display:block}
  .chess-side{background:var(--game-panel);border-left:1px solid var(--game-line);padding:1rem;display:flex;flex-direction:column;gap:.8rem}
  .chess-side h3{margin:0;font-size:1rem;letter-spacing:.06em;text-transform:uppercase;color:#9aa0a8}
  #chessStatus{font-size:1.05rem;font-weight:700;min-height:1.6em}
  #chessLog{font-size:.85rem;color:#b3b7bd;overflow-y:auto;max-height:220px;border-top:1px solid var(--game-line);padding-top:.6rem}
  #chessLog div{padding:.12rem 0;border-bottom:1px dashed #232329}
  .cap-row{font-size:.85rem;color:#b3b7bd}
  .cap-row b{color:#f2f2f4}
  @media (max-width:820px){ .chess-wrap{grid-template-columns:1fr} .chess-side{border-left:0;border-top:1px solid var(--game-line)} #chessMount{min-height:340px} }
  /* ---------- shop ---------- */
  .filters{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.1rem}
  .fbtn{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:999px;padding:.55rem 1.05rem;font:inherit;font-weight:800;cursor:pointer;min-height:2.5rem}
  .fbtn[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
  .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}
  .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
  .card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;background:#111}
  .card .body{padding:.95rem 1rem 1.05rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
  .card .cat{font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
  .card h3{margin:0;font-size:1.08rem}
  .card p{margin:0;color:var(--muted);font-size:.9rem;flex:1}
  .price-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.5rem}
  .price{font-size:1.2rem;font-weight:900}
  .add-btn{background:var(--accent);color:var(--accent-ink);border:0;border-radius:9px;padding:.6rem 1rem;font:inherit;font-weight:800;cursor:pointer;min-height:2.6rem}
  .size-sel{margin-top:.4rem;display:flex;gap:.4rem;align-items:center;font-size:.85rem;color:var(--muted)}
  .size-sel select{font:inherit;padding:.35rem .5rem;border-radius:7px;border:1px solid var(--line);background:var(--surface);color:var(--ink);min-height:2.25rem}
  /* ---------- cart drawer ---------- */
  .scrim{position:fixed;inset:0;background:rgba(4,8,14,.55);z-index:80;opacity:0;pointer-events:none;transition:opacity .2s}
  .scrim.open{opacity:1;pointer-events:auto}
  .drawer{position:fixed;top:0;right:0;height:100dvh;width:min(400px,94vw);background:var(--surface);color:var(--ink);z-index:90;transform:translateX(105%);transition:transform .25s ease;display:flex;flex-direction:column;border-left:1px solid var(--line)}
  .drawer[hidden]{display:none}
  .drawer.open{transform:none}
  .drawer header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid var(--line)}
  .drawer header h2{margin:0;font-size:1.2rem}
  .drawer .items{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.8rem}
  .cart-item{display:flex;gap:.7rem;align-items:center;border:1px solid var(--line);border-radius:10px;padding:.6rem}
  .cart-item img{width:56px;height:56px;object-fit:cover;border-radius:7px}
  .cart-item .ci-body{flex:1}
  .cart-item .ci-body b{display:block;font-size:.95rem}
  .cart-item .ci-body span{font-size:.82rem;color:var(--muted)}
  .qty{display:flex;align-items:center;gap:.35rem}
  .qty button{width:2.25rem;height:2.25rem;border-radius:7px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);font:inherit;font-weight:800;cursor:pointer}
  .drawer footer{padding:1rem;border-top:1px solid var(--line)}
  .total-row{display:flex;justify-content:space-between;font-weight:900;font-size:1.1rem;margin-bottom:.7rem}
  .checkout-btn{width:100%;background:var(--ink);color:var(--bg);border:0;border-radius:10px;padding:.85rem;font:inherit;font-weight:900;cursor:pointer;min-height:3rem}
  .empty-note{color:var(--muted);text-align:center;padding:2rem 1rem}
  .order-note{font-size:.85rem;color:var(--muted);margin-top:.6rem}
  footer.site{border-top:1px solid var(--line);margin-top:3rem;padding:1.6rem 1rem 2.2rem;background:var(--bg2)}
  footer.site .in{max-width:1180px;margin:0 auto;display:flex;gap:1rem;flex-wrap:wrap;justify-content:space-between;color:var(--muted);font-size:.9rem}
  .music-credit{font-size:.8rem;color:var(--muted);text-align:center;margin:.7rem 0 0}
  .err-overlay{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:200;background:#3d0d12;color:#ffd7db;border:1px solid #ff5b68;border-radius:10px;padding:.8rem 1rem;font-size:.9rem;display:none}
  /* ---------- ads ---------- */
  .ad-slot{border:1px dashed var(--line);border-radius:var(--radius);background:var(--surface2);padding:.55rem .75rem .7rem;text-align:center;overflow:hidden}
  .ad-slot .ad-label{display:block;font-size:.66rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:.4rem}
  .ad-slot ins.adsbygoogle{display:block;min-height:90px}
  .ad-banner{margin:1.4rem 0 0}
  .ad-incontent{margin-top:2.4rem}
  @media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto} .drawer,.scrim{transition:none} }

  /* ---------- multi-page additions ---------- */
  nav.main a.active{background:var(--accent-soft);color:var(--accent)}
  body.page-nexus main,body.page-chess main{max-width:1320px}
  body.page-chess #chessMount{min-height:520px}
  @media (max-width:820px){ body.page-chess #chessMount{min-height:340px} }
  .page-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin:1.6rem 0 0}
  .page-card{display:block;background:var(--game-bg);color:var(--game-ink);border:1px solid var(--game-line);border-radius:var(--radius);padding:1.4rem 1.2rem 1.2rem;text-decoration:none;transition:transform .15s ease,border-color .15s ease}
  .page-card:hover{transform:translateY(-3px);border-color:#e53238}
  .page-card .pc-glyph{display:block;font-size:2.2rem;color:#e53238;line-height:1;margin-bottom:.6rem}
  .page-card h2{margin:0 0 .35rem;font-size:1.35rem;font-weight:900}
  .page-card p{margin:0 0 1rem;color:#b9bcc2;font-size:.95rem}
  .page-card .btn{pointer-events:none}
  .about{margin-top:2.2rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.3rem 1.4rem}
  .about h2{margin:0 0 .4rem;font-size:1.15rem;letter-spacing:.08em}
  .about p{margin:0;color:var(--muted);max-width:720px}
  /* ---------- assistant widget ---------- */
  .asst-fab{position:fixed;right:1rem;bottom:1rem;z-index:120;width:60px;height:60px;border-radius:50%;border:2px solid #e53238;background:#070708;cursor:pointer;padding:0;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.45)}
  .asst-fab img,.asst-fab video{width:46px;height:46px;object-fit:cover;border-radius:50%}
  .asst-panel{position:fixed;right:1rem;bottom:5.2rem;z-index:120;width:min(360px,calc(100vw - 2rem));height:min(480px,calc(100dvh - 7rem));background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}
  .asst-panel[hidden]{display:none}
  .asst-head{display:flex;align-items:center;gap:.65rem;background:#070708;color:#f2f2f4;padding:.7rem .9rem}
  .asst-head img,.asst-head video{width:40px;height:40px;object-fit:cover;flex:none;border-radius:50%}
  .asst-title{flex:1;min-width:0}
  .asst-title b{display:block;font-size:1rem;line-height:1.2}
  .asst-title span{display:block;font-size:.78rem;color:#9aa0a8}
  .asst-close{background:none;border:0;color:#f2f2f4;font:inherit;font-size:1.1rem;cursor:pointer;padding:.4rem;min-height:2.25rem}
  .asst-msgs{flex:1;overflow-y:auto;padding:.9rem;display:flex;flex-direction:column;gap:.55rem}
  .msg{max-width:85%;padding:.55rem .75rem;border-radius:12px;font-size:.93rem;line-height:1.45}
  .msg.bot{background:var(--surface2);border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
  .msg.user{background:#e53238;color:#ffffff;align-self:flex-end;border-bottom-right-radius:4px;font-weight:600}
  .asst-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 .9rem .6rem}
  .asst-chips button{background:var(--surface2);border:1px solid var(--line);color:var(--ink);border-radius:999px;padding:.4rem .75rem;font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;min-height:2.25rem}
  .asst-chips button:hover{border-color:#e53238}
  .asst-form{display:flex;gap:.5rem;padding:.7rem .9rem;border-top:1px solid var(--line)}
  .asst-form input{flex:1;min-width:0;font:inherit;padding:.55rem .75rem;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
  .asst-form button{background:#e53238;color:#ffffff;border:0;border-radius:9px;padding:.55rem 1rem;font:inherit;font-weight:800;cursor:pointer;min-height:2.5rem}
  /* ---------- W33ZY STRIKE ---------- */
  body.page-strike main{max-width:1320px}
  canvas#strikeCanvas{display:block;width:100%;height:auto;touch-action:none;background:#070708}
  .boss-wrap{display:inline-flex;align-items:center;gap:.4rem;background:#0d0d10;border:1px solid var(--game-line);border-radius:8px;padding:.35rem .65rem;font-size:.85rem}
  .boss-wrap[hidden]{display:none}
  .boss-bar{display:inline-block;width:140px;height:10px;background:#160a0c;border:1px solid #ff5a7a;border-radius:5px;overflow:hidden;vertical-align:middle}
  .boss-bar i{display:block;height:100%;background:linear-gradient(90deg,#ff5a7a,#ff2e63);width:100%}
  .touch-row{display:none;padding:.6rem .75rem;background:#0d0d10;border-top:1px solid var(--game-line)}
  .touch-fire{display:none}
  @media (pointer:coarse){ .touch-row{display:block} .touch-fire{display:inline-block;width:100%} }
  /* ---------- BotUI chat bubbles (Ask W33ZY) ----------
     BotUI 0.3.9 ships almost no bubble styling of its own, so these
     overrides give its messages the same black/red look as the plain
     .msg.bot / .msg.user bubbles above. Scoped under #asstMsgs so
     nothing else on the site is affected. */
  #asstMsgs>.botui-container{flex:1 1 auto;min-height:0;height:auto;padding:0}
  #asstMsgs .botui-messages-container{padding:0}
  #asstMsgs .botui-message{margin:.55rem 0;min-height:0}
  #asstMsgs .botui-message-content{max-width:85%;padding:.55rem .75rem;border-radius:12px;font-size:.93rem;line-height:1.45;background:var(--surface2);border:1px solid var(--line);color:var(--ink);border-bottom-left-radius:4px}
  #asstMsgs .botui-message-content.human{float:right;background:#e53238;border-color:#e53238;color:#ffffff;font-weight:600;border-bottom-left-radius:12px;border-bottom-right-radius:4px}
  #asstMsgs .botui-message-content.loading{padding:.7rem .85rem}
  #asstMsgs .botui-message-content.loading .dot{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:50%;background:#9aa0a8;animation:asst-dot 1.2s infinite}
  #asstMsgs .botui-message-content.loading .dot:nth-child(2){animation-delay:.2s}
  #asstMsgs .botui-message-content.loading .dot:nth-child(3){animation-delay:.4s;margin-right:0}
  @keyframes asst-dot{0%,60%,100%{opacity:.3}30%{opacity:1}}
  #asstMsgs .slide-fade-enter-active{transition:opacity .25s ease,transform .25s ease}
  #asstMsgs .slide-fade-enter{opacity:0;transform:translateY(4px)}

  /* ---------- high-tech game refresh ---------- */
  .new-badge{display:inline-block;background:linear-gradient(90deg,#e53238,#c9ced6);color:#ffffff;font-size:.68rem;font-weight:900;letter-spacing:.16em;padding:.25rem .55rem;border-radius:999px;margin-bottom:.55rem;box-shadow:0 0 14px rgba(229,50,56,.55)}
  .page-card{position:relative}
  .game-shell{position:relative;box-shadow:0 0 0 1px #2a1214,0 0 34px rgba(229,50,56,.16),0 18px 44px rgba(0,0,0,.45)}
  .game-shell::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(255,255,255,.014) 0 1px,transparent 1px 3px);border-radius:var(--radius)}
  .hud .stat b{color:#e53238;text-shadow:0 0 10px rgba(229,50,56,.7)}
  .hud .stat.hot b{color:#ff5a7a;text-shadow:0 0 10px rgba(255,90,122,.7)}
  .gbtn{transition:box-shadow .15s ease,border-color .15s ease,transform .1s ease}
  .gbtn:hover{box-shadow:0 0 12px rgba(229,50,56,.35)}
  .gbtn:active{transform:translateY(1px)}
  .gbtn.primary{box-shadow:0 0 16px rgba(229,50,56,.4)}
  .tower-btn{transition:box-shadow .15s ease,border-color .15s ease,transform .1s ease}
  .tower-btn:hover{border-color:#e53238;box-shadow:0 0 12px rgba(229,50,56,.3)}
  .tower-btn[aria-pressed="true"]{border-color:#e53238;background:#3d0d12;box-shadow:0 0 14px rgba(229,50,56,.45)}
  /* NEXUS wave progress + best score */
  .nx-prog{display:inline-block;width:110px;height:9px;background:#0d0d10;border:1px solid var(--game-line);border-radius:5px;overflow:hidden;vertical-align:middle}
  .nx-prog i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#e53238,#c9ced6);box-shadow:0 0 8px rgba(229,50,56,.8);transition:width .3s ease}
  /* chess difficulty + result states */
  .diff-btn[aria-pressed="true"]{background:#e53238;color:#ffffff;border-color:#e53238;box-shadow:0 0 14px rgba(229,50,56,.55)}
  #chessStatus.win{color:#c9ced6;text-shadow:0 0 14px rgba(62,207,142,.6)}
  #chessStatus.lose{color:#ff5b68;text-shadow:0 0 14px rgba(255,91,104,.6)}
  #chessStatus.thinking{color:#e0a83e}
  /* STRIKE charge meter + hostiles */
  .charge-bar{display:inline-block;width:90px;height:9px;background:#0d0d10;border:1px solid var(--game-line);border-radius:5px;overflow:hidden;vertical-align:middle}
  .charge-bar i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#e53238,#ffb3b3,#fff);box-shadow:0 0 10px rgba(229,50,56,.9)}
  .charge-bar i.full{background:linear-gradient(90deg,#e0a83e,#ffd166,#fff);box-shadow:0 0 12px rgba(224,168,62,.9)}

/* ---------- shop polish (smiley drop, Nov 21) ---------- */
.shop-hero .hero-in{padding:2.2rem 1rem 1.8rem}
.shop-hero h1{font-size:clamp(2.4rem,7vw,4rem)}
.shop-hero .hero-stats{margin-top:1.4rem}
.page-shop .grid{gap:1.15rem}
.page-shop .card{position:relative;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.page-shop .card:hover{transform:translateY(-3px);border-color:#e53238;box-shadow:0 10px 28px rgba(0,0,0,.35)}
.page-shop .card .badge{position:absolute;top:.7rem;left:.7rem;z-index:2;background:var(--accent);color:var(--accent-ink);font-size:.68rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;border-radius:999px;padding:.28rem .62rem;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.page-shop .card img{border-bottom:1px solid var(--line)}
.page-shop .filters{margin-bottom:1.3rem}
@media (max-width:560px){
  .page-shop .grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.7rem}
  .page-shop .card .body{padding:.8rem .8rem .9rem}
  .page-shop .card h3{font-size:.98rem}
}

/* ---------- 2D chess board (rebuild, Nov 22 2026) ---------- */
.c2-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:0}
.c2-board-col{padding:1rem;display:grid;place-items:center;background:radial-gradient(120% 100% at 50% 0%, #141416 0%, #070708 70%)}
.c2-board{position:relative;width:100%;max-width:620px;aspect-ratio:1/1;container-type:inline-size;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #2a1214,0 0 28px rgba(229,50,56,.18);user-select:none;-webkit-user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.c2-squares{position:absolute;inset:0;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr)}
.c2-sq{position:relative}
.c2-sq.light{background:#e6edf3}
.c2-sq.dark{background:#454b54}
.c2-sq.last{background:#f0b0b0}
.c2-sq.dark.last{background:#7a2a2e}
.c2-sq.sel{background:#e53238}
.c2-sq.sel::after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 3px #a11f24}
.c2-sq.legal::after{content:"";position:absolute;left:50%;top:50%;width:30%;height:30%;transform:translate(-50%,-50%);border-radius:50%;background:rgba(4,18,26,.45);box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.c2-sq.capture::after{content:"";position:absolute;inset:6%;border-radius:50%;border:4px solid rgba(255,91,104,.85)}
.c2-sq.check{background:#ff5b68;box-shadow:inset 0 0 22px rgba(255,0,40,.75)}
.c2-coord{position:absolute;font-size:10px;font-weight:800;line-height:1;pointer-events:none;opacity:.75}
.c2-coord.rank{top:3px;left:4px}
.c2-coord.file{right:4px;bottom:3px}
.c2-sq.light .c2-coord{color:#454b54}
.c2-sq.dark .c2-coord{color:#e8e8ea}
.c2-pieces{position:absolute;inset:0;pointer-events:none}
.c2-pc{position:absolute;left:0;top:0;width:12.5%;height:12.5%;display:flex;align-items:center;justify-content:center;font-size:52px;font-size:min(11.5cqw,58px);line-height:1;transition:transform .18s ease;will-change:transform}
.c2-pc.w{color:#f8fafc;text-shadow:0 0 2px #0a0a0c,0 2px 3px rgba(0,0,0,.55)}
.c2-pc.b{color:#0a0a0c;text-shadow:0 0 2px rgba(232,242,250,.9),0 2px 3px rgba(0,0,0,.4)}
.cap-pc{font-size:1.25rem;line-height:1}
.cap-pc.w{color:#f8fafc;text-shadow:0 0 2px #0a0a0c}
.cap-pc.b{color:#9aa0a8}
@media (max-width:820px){
  .c2-wrap{grid-template-columns:1fr}
  .c2-board-col{padding:.75rem}
  .chess-side{border-left:0;border-top:1px solid var(--game-line)}
}
/* Fullscreen: the .game-shell fills the screen and the board grows to fit. */
.game-shell:fullscreen{background:#070708;border-radius:0;overflow:auto;display:flex;flex-direction:column;justify-content:center}
.game-shell:fullscreen .c2-wrap{flex:1}
.game-shell:fullscreen .c2-board{max-width:min(88vmin,760px)}
.game-shell:-webkit-full-screen{background:#070708;border-radius:0;overflow:auto;display:flex;flex-direction:column;justify-content:center}
.game-shell:-webkit-full-screen .c2-board{max-width:min(88vmin,760px)}
@media (prefers-reduced-motion: reduce){ .c2-pc{transition:none} }

/* ---- Skull avatar: VOLT the cyan skull in the Ask W33ZY widget ---- */
.asst-avatar3d{position:relative;width:44px;height:44px;flex:none;border-radius:50%}
.asst-avatar3d .skull-slot{width:44px;height:44px}
.asst-avatar3d canvas{width:44px;height:44px;display:block;border-radius:50%;background:radial-gradient(circle at 50% 35%,#1b2a3a,#070708)}
.asst-avatar3d img.skull-fallback{width:44px;height:44px;object-fit:cover;border-radius:50%}
.asst-emo{position:absolute;right:-7px;bottom:-5px;font-size:20px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.55));opacity:0;pointer-events:none}
.asst-emo.pop{animation:asst-emo-pop .5s ease forwards}
@keyframes asst-emo-pop{0%{opacity:0;transform:scale(.3) translateY(6px)}60%{opacity:1;transform:scale(1.25) translateY(-2px)}100%{opacity:1;transform:scale(1)}}
.asst-think{position:absolute;left:-6px;top:-8px;display:none;gap:2px;background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:3px 6px}
.asst-think i{width:5px;height:5px;border-radius:50%;background:#9aa0a8;display:block;animation:asst-dot 1.2s infinite}
.asst-think i:nth-child(2){animation-delay:.2s}
.asst-think i:nth-child(3){animation-delay:.4s}
.asst-avatar3d.thinking .asst-think{display:flex}
.asst-avatar3d.listening{box-shadow:0 0 0 2px #e53238,0 0 12px rgba(229,50,56,.6)}
.asst-avatar3d.speaking{box-shadow:0 0 0 2px #ffd166,0 0 12px rgba(255,209,102,.55)}
.asst-credit{font-size:.72rem;color:var(--muted);text-align:center;padding:.35rem .9rem .6rem}

/* ============================================================
   HIGH-TECH 3D RESTYLE — Nov 22, 2026 (staging)
   Depth, layers, shadows, perspective. Everything pressable
   gets the same snappy press animation. Scroll reveals give
   the whole site motion. All animation respects
   prefers-reduced-motion (see the block at the very end).
   ============================================================ */

/* ---- tech backdrop: faint grid + glow, fixed behind everything ---- */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(229,50,56,.10), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(201,206,214,.05), transparent 60%),
    repeating-linear-gradient(0deg, rgba(200,200,205,.05) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(200,200,205,.05) 0 1px, transparent 1px 44px);}

/* ---- 3D depth: layered shadows + a top light edge on panels ---- */
.game-shell,.card,.howto div,.page-card,.about,.audio-player-card,.ep,.tool-card{
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset, 0 14px 34px rgba(0,0,0,.38), 0 0 0 1px rgba(229,50,56,.06);}
.game-shell{transform:translateZ(0)}
.page-card,.card{transform-style:preserve-3d;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.page-card:hover{transform:translateY(-4px) perspective(700px) rotateX(2deg);border-color:#e53238;
  box-shadow:0 1px 0 rgba(255,255,255,.07) inset, 0 22px 44px rgba(0,0,0,.5), 0 0 24px rgba(229,50,56,.25)}
.page-shop .card:hover{transform:translateY(-4px) perspective(700px) rotateX(2deg)}

/* ---- hero: glowing tech floor ---- */
.hero{position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;left:-10%;right:-10%;bottom:-70px;height:190px;pointer-events:none;
  background:repeating-linear-gradient(90deg, rgba(229,50,56,.20) 0 2px, transparent 2px 46px),
             linear-gradient(180deg, rgba(229,50,56,.14), transparent);
  transform:perspective(520px) rotateX(58deg);transform-origin:top;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent);mask-image:linear-gradient(180deg,#000,transparent)}
.hero h1{text-shadow:0 0 26px rgba(229,50,56,.35)}
.sec-head h2{text-shadow:0 2px 18px rgba(229,50,56,.18)}

/* ---- PRESS ANIMATION, site-wide: one consistent high-tech press ----
   Every pressable thing: buttons, links that act like buttons, cards,
   grid cells, chips, toggles. Fast (80ms) so it feels snappy, never
   sluggish. The shadow collapses and the button dips + shrinks a touch,
   with a red flash ring while pressed. */
button,.btn,.gbtn,.fbtn,.add-btn,.checkout-btn,.cart-btn,.tower-btn,.mm-cell,
nav.main a,.page-card,.asst-chips button,.asst-form button,.qty button,
.ep-play,.asst-fab,.asst-close,.top-play,.vd-thumb{
  transition:transform .08s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease, filter .15s ease;
  -webkit-tap-highlight-color:transparent}
button:active,.btn:active,.gbtn:active,.fbtn:active,.add-btn:active,.checkout-btn:active,
.cart-btn:active,.tower-btn:active,.mm-cell:active,nav.main a:active,.page-card:active,
.asst-chips button:active,.asst-form button:active,.qty button:active,.ep-play:active,
.asst-fab:active,.asst-close:active,.top-play:active,.vd-thumb:active{
  transform:translateY(2px) scale(.965);
  box-shadow:0 0 0 2px rgba(229,50,56,.55), 0 0 18px rgba(229,50,56,.45);
  filter:brightness(1.12)}
button:focus-visible,.btn:focus-visible,.gbtn:focus-visible,.fbtn:focus-visible,
a:focus-visible,input:focus-visible,select:focus-visible{
  outline:2px solid #e53238;outline-offset:2px}

/* ---- TOOL CARDS: elegant label + how-to, with the Skull Crew avatar ---- */
.tool-card{display:flex;gap:.9rem;align-items:flex-start;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--radius);padding:.9rem 1rem;margin:0 0 .9rem;
  transform-style:preserve-3d}
.tool-avatar{flex:none;width:72px;height:72px;border-radius:50%;object-fit:cover;
  border:2px solid #e53238;box-shadow:0 0 0 3px rgba(229,50,56,.18), 0 0 18px rgba(229,50,56,.35);
  animation:tool-bob 4.5s ease-in-out infinite}

/* ---- SKULL SLOTS: live 3D skull avatars (SkullForge) ----
   Tap a skull to cycle its mood — eyes, brows, jaw and glow all change.
   Each skull's ring matches its color. */
.skull-slot{position:relative;display:block;border-radius:50%;overflow:hidden;cursor:pointer;flex:none}
.skull-slot canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.skull-slot img.skull-fallback{width:100%;height:100%;object-fit:cover;display:block}
.skull-slot .skull-emo{position:absolute;right:1px;bottom:1px;z-index:2;font-size:15px;line-height:1;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.7));pointer-events:none}
.tool-avatar.skull-slot{padding:0}
.skull-slot[data-skull="red"]{border-color:#ff2d55;box-shadow:0 0 0 3px rgba(255,45,85,.18),0 0 18px rgba(255,45,85,.35)}
.skull-slot[data-skull="gold"]{border-color:#ffd166;box-shadow:0 0 0 3px rgba(255,209,102,.18),0 0 18px rgba(255,209,102,.35)}
.skull-slot[data-skull="green"]{border-color:#39d98a;box-shadow:0 0 0 3px rgba(57,217,138,.18),0 0 18px rgba(57,217,138,.35)}
.skull-slot[data-skull="purple"]{border-color:#a78bfa;box-shadow:0 0 0 3px rgba(167,139,250,.18),0 0 18px rgba(167,139,250,.35)}
.skull-slot[data-skull="orange"]{border-color:#ff8c1a;box-shadow:0 0 0 3px rgba(255,140,26,.18),0 0 18px rgba(255,140,26,.35)}
.skull-slot[data-skull="blue"]{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.18),0 0 18px rgba(59,130,246,.35)}
.skull-slot[data-skull="bone"]{border-color:#e8e6df;box-shadow:0 0 0 3px rgba(232,230,223,.18),0 0 18px rgba(232,230,223,.35)}
.skull-chat .skull-emo{font-size:12px}
.tool-body{min-width:0}
.tool-name{display:block;font-size:1.05rem;font-weight:900;letter-spacing:.01em}
.tool-tag{display:inline-block;font-size:.66rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  color:#ffffff;background:linear-gradient(90deg,#e53238,#c9ced6);border-radius:999px;
  padding:.15rem .5rem;margin-left:.4rem;vertical-align:middle}
.tool-howto{margin:.25rem 0 0;color:var(--muted);font-size:.92rem;line-height:1.45}
@keyframes tool-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}

/* ---- SCROLL REVEAL: elements rise + tilt into view with 3D depth ----
   scroll-fx.js adds .fx-on to <html> and .in to elements as they enter
   the viewport. DIRECTION-AWARE (Walter's rule): scrolling DOWN reveals
   from below with a forward tilt; scrolling UP reveals from above with
   a backward tilt — the two directions feel different. The topbar also
   behaves differently: compact going down, glowing + expanded coming up. */
html.fx-on .reveal{opacity:0;transform:translateY(28px) perspective(800px) rotateX(7deg);
  transition:opacity .6s ease var(--rd,0s), transform .6s ease var(--rd,0s)}
html.fx-on .reveal.in{opacity:1;transform:none}
html.fx-on .reveal-l{opacity:0;transform:translateX(-28px) perspective(800px) rotateY(-6deg);
  transition:opacity .6s ease var(--rd,0s), transform .6s ease var(--rd,0s)}
html.fx-on .reveal-l.in{opacity:1;transform:none}
/* UP direction: elements settle in from above, tilted back the other way */
html.fx-on.scroll-up .reveal:not(.in){transform:translateY(-20px) perspective(800px) rotateX(-5deg)}
html.fx-on.scroll-up .reveal-l:not(.in){transform:translateX(28px) perspective(800px) rotateY(6deg)}
/* topbar: compact + tucked going down, glowing + open coming up */
.topbar{transition:padding .25s ease, box-shadow .25s ease, border-color .25s ease}
html.scroll-down .topbar{box-shadow:0 8px 26px rgba(0,0,0,.45)}
/* NOTE Nov 22: NEVER hide .brand small / .tp-label with display:none here.
   The sticky topbar changing height mid-scroll shifts every pixel below
   it, so the whole page jumps and shakes on phones. Shadow/glow only. */
html.scroll-up .topbar{box-shadow:0 0 26px rgba(229,50,56,.28);border-bottom-color:#e53238}
/* NOTE Nov 22: NO transition on .hero-in transform. scroll-fx.js writes a
   new translateY every animation frame while scrolling; a CSS transition
   makes each write lag and overshoot the last one, so the hero judders.
   The rAF writes alone are smooth. */
.hero-in{will-change:transform}

/* ---- TOP PLAY CONTROL: "Play the vibe" in the header ---- */
.top-play{display:inline-flex;align-items:center;gap:.5rem;background:#0d0d10;color:#f2f2f4;
  border:1px solid #e53238;border-radius:999px;padding:.5rem .95rem;font:inherit;font-weight:800;
  cursor:pointer;min-height:2.5rem;box-shadow:0 0 14px rgba(229,50,56,.3)}
.top-play:hover{box-shadow:0 0 20px rgba(229,50,56,.55)}
.top-play.playing{border-color:#c9ced6;box-shadow:0 0 20px rgba(201,206,214,.4)}
.tp-eq{display:inline-flex;align-items:flex-end;gap:2px;height:14px}
.tp-eq i{width:3px;height:5px;background:#e53238;border-radius:2px;display:block}
.top-play.playing .tp-eq i{animation:tp-eq .7s ease-in-out infinite}
.top-play.playing .tp-eq i:nth-child(2){animation-delay:.18s}
.top-play.playing .tp-eq i:nth-child(3){animation-delay:.36s}
@keyframes tp-eq{0%,100%{height:5px}50%{height:14px}}

/* ---- FOOTER SOCIALS ---- */
.socials{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center;width:100%;
  padding-top:1rem;margin-top:.4rem;border-top:1px solid var(--line)}
.socials .soc-lbl{font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);margin-right:.35rem}
.socials a{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;font-weight:800;
  color:var(--ink);text-decoration:none;border:1px solid var(--line);border-radius:999px;
  padding:.42rem .8rem;background:var(--surface)}
.socials a:hover{border-color:#e53238;box-shadow:0 0 12px rgba(229,50,56,.3)}
.socials a .soc-dot{width:8px;height:8px;border-radius:50%;background:#e53238;display:inline-block;
  box-shadow:0 0 8px rgba(229,50,56,.8)}

/* ---- Skull avatar in the chat widget (replaces the Winter pup) ---- */
.asst-avatar3d .skull-slot{border:2px solid #e53238;animation:tool-bob 4.5s ease-in-out infinite}
.asst-voice{background:transparent;color:#f2f2f4;border:1px solid #3d3d46;border-radius:9px;padding:.35rem .55rem;font:inherit;cursor:pointer;min-height:2.25rem}
.asst-voice[aria-pressed="true"]{border-color:#e53238;box-shadow:0 0 12px rgba(229,50,56,.4)}

/* ---- reduced motion: everything still works, nothing moves ---- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .drawer,.scrim{transition:none}
  *,*::before,*::after{animation-duration:.001s !important;animation-iteration-count:1 !important;
    transition-duration:.001s !important}
  html.fx-on .reveal,html.fx-on .reveal-l{opacity:1;transform:none}
  button:active,.btn:active,.gbtn:active,.fbtn:active,.add-btn:active,.checkout-btn:active,
  .cart-btn:active,.tower-btn:active,.mm-cell:active,nav.main a:active,.page-card:active,
  .asst-chips button:active,.asst-form button:active,.qty button:active,.ep-play:active,
  .asst-fab:active,.asst-close:active,.top-play:active,.vd-thumb:active{transform:none;filter:none}
  body::before,.hero::after{display:none}
}

/* ---- FANCY: skull hero (index) — live 3D skull trio, dark HUD ----
   Tap the hero to cycle the whole crew's mood. */
.skull-hero{position:relative;max-width:960px;height:380px;margin:0 auto 1.6rem;border-radius:18px;overflow:hidden;
  border:1px solid rgba(229,50,56,.45);cursor:pointer;
  background:radial-gradient(ellipse at 50% 120%, rgba(229,50,56,.22), transparent 60%),
    linear-gradient(180deg,#0d0d10,#070708 70%);
  box-shadow:0 1px 0 rgba(255,255,255,.12) inset, 0 24px 60px rgba(0,0,0,.55), 0 0 34px rgba(229,50,56,.28);
  transform:perspective(900px) rotateX(2deg)}
.skull-hero canvas.skull-hero-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.skull-hero-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1rem}
.skull-hero-fallback img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(229,50,56,.45))}
.skull-hero-fallback img:nth-child(2){width:190px;height:190px}
.skull-hero-hud{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:.5rem;
  padding:.55rem .9rem;font-size:.72rem;font-weight:900;letter-spacing:.14em;color:#f0b0b0;
  background:linear-gradient(180deg,transparent,rgba(4,10,18,.85));pointer-events:none}
.skull-hero-emo{color:#f2f2f4}
@media (max-width:560px){.skull-hero{height:300px}.skull-hero-fallback img{width:104px;height:104px}.skull-hero-fallback img:nth-child(2){width:132px;height:132px}}

/* ---- SKULL COACH bubble: talking teaching skull (SkullCoach) ---- */
.coach-bubble{position:fixed;left:1rem;bottom:4.75rem;z-index:110;display:flex;gap:.6rem;align-items:flex-start;
  width:min(420px,calc(100vw - 2rem));padding:.7rem .8rem;border-radius:16px;
  background:#0d0d10;color:#f2f2f4;border:1px solid rgba(229,50,56,.5);
  box-shadow:0 14px 40px rgba(0,0,0,.55),0 0 24px rgba(229,50,56,.25)}
.coach-bubble[hidden]{display:none}
.coach-face{width:52px;height:52px;flex:none;border-radius:50%;object-fit:cover;border:2px solid #e53238}
.coach-bubble.talking .coach-face{animation:coach-talk .45s ease-in-out infinite}
@keyframes coach-talk{0%,100%{transform:scale(1)}50%{transform:scale(1.07) translateY(-2px)}}
.coach-emo{position:absolute;left:44px;bottom:6px;font-size:17px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.7))}
.coach-body{flex:1;min-width:0}
.coach-name{display:block;font-size:.85rem;font-weight:900;letter-spacing:.06em}
.coach-text{margin:.15rem 0 0;font-size:.92rem;line-height:1.45;color:#c9ccd2}
.coach-mute,.coach-close{flex:none;background:transparent;color:#f2f2f4;border:1px solid #3d3d46;border-radius:9px;padding:.35rem .5rem;font:inherit;cursor:pointer;min-height:2rem}
.coach-btn{margin-top:.6rem}

/* ---- FANCY: page hero cards (game pages — the tools that had no card yet) ----
   Same family as .tool-card, bigger: gradient border, glow, bobbing avatar,
   elegant name + one-line how-to. One consistent fancy theme site-wide. */
.page-hero-card{display:flex;gap:1rem;align-items:center;margin:1.2rem 0 1.4rem;padding:1.1rem 1.2rem;
  border-radius:18px;position:relative;overflow:hidden;
  background:linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, #e53238 10%), var(--surface));
  border:1px solid rgba(229,50,56,.4);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 18px 40px rgba(0,0,0,.4), 0 0 28px rgba(229,50,56,.16);
  transform:perspective(900px) rotateX(1.5deg)}
.page-hero-card::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(90deg, rgba(229,50,56,.06) 0 1px, transparent 1px 44px)}
.page-hero-card .tool-avatar{width:88px;height:88px}
.page-hero-card h2{margin:0;font-size:clamp(1.4rem,4vw,1.9rem);font-weight:900}
.page-hero-card .tool-howto{font-size:.98rem}

/* ---- FANCY: page picker — a 3D jump-between-pages overlay ----
   Not a plain nav bar: a glowing "Explore" button opens a full-screen
   panel of tilted 3D tiles, one per page, each with a glyph, a name and
   a one-line how-to. The plain nav bar stays as the fallback. */
.picker-fab{position:fixed;left:1rem;bottom:1rem;z-index:70;display:inline-flex;align-items:center;gap:.5rem;
  background:linear-gradient(135deg,#e53238,#c9ced6);color:#ffffff;border:0;border-radius:999px;
  padding:.7rem 1.1rem;font:inherit;font-weight:900;font-size:.95rem;cursor:pointer;min-height:2.75rem;
  box-shadow:0 10px 28px rgba(0,0,0,.45), 0 0 22px rgba(229,50,56,.4)}
.picker-overlay{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;
  background:rgba(3,7,12,.78);backdrop-filter:blur(6px);padding:1rem}
.picker-overlay.open{display:flex}
.picker-panel{width:min(920px,100%);max-height:88vh;overflow:auto;border-radius:20px;padding:1.2rem;
  background:linear-gradient(160deg,#0d1622,#070708);color:#f2f2f4;border:1px solid rgba(229,50,56,.45);
  box-shadow:0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(229,50,56,.2)}
.picker-panel h2{margin:.1rem 0 .2rem;font-size:1.5rem;font-weight:900}
.picker-panel .picker-sub{color:#9aa0a8;margin:0 0 1rem}
.picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.8rem}
.picker-tile{display:flex;flex-direction:column;gap:.15rem;text-align:left;text-decoration:none;color:#f2f2f4;
  background:#121216;border:1px solid #2c2c33;border-radius:14px;padding:.9rem .95rem;
  transform:perspective(700px) rotateX(3deg);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.picker-tile:hover{transform:perspective(700px) rotateX(0) translateY(-4px);border-color:#e53238;
  box-shadow:0 14px 30px rgba(0,0,0,.5), 0 0 20px rgba(229,50,56,.3)}
.picker-tile .pk-glyph{font-size:1.5rem;line-height:1}
.picker-tile b{font-size:1rem}
.picker-tile span{font-size:.85rem;color:#9aa0a8;line-height:1.4}
.picker-tile.here{border-color:#c9ced6;box-shadow:0 0 0 1px rgba(201,206,214,.5), 0 0 18px rgba(201,206,214,.25)}
.picker-tile.here::after{content:"YOU ARE HERE";font-size:.62rem;font-weight:900;letter-spacing:.14em;color:#c9ced6;margin-top:.35rem}
.picker-close{float:right;background:transparent;color:#f2f2f4;border:1px solid #3d3d46;border-radius:9px;
  padding:.4rem .7rem;font:inherit;font-weight:800;cursor:pointer;min-height:2.25rem}

/* ---- ABOUT ME: heartfelt, now in the black/red graffiti palette ---- */
.about-me{position:relative;overflow:hidden;margin:2.2rem 0 0;padding:1.6rem 1.4rem;border-radius:22px;
  background:linear-gradient(150deg,#17171c,#1e0d0e 55%,#141416);
  color:#f2f2f4;border:1px solid rgba(229,50,56,.55);
  box-shadow:0 1px 0 rgba(255,255,255,.08) inset, 0 20px 44px rgba(0,0,0,.5), 0 0 30px rgba(229,50,56,.22)}
@media (prefers-color-scheme: dark){
  .about-me{background:linear-gradient(150deg,#17171c,#1e0d0e 55%,#141416);color:#f2f2f4;border-color:rgba(229,50,56,.55)}}
.about-me h2{margin:0 0 .4rem;font-size:clamp(1.6rem,4.5vw,2.2rem);font-weight:900}
.about-me .about-copy{font-size:1.06rem;line-height:1.65;max-width:640px;margin:.4rem 0 0}
.about-me .about-love{font-weight:800;font-size:1.12rem;margin-top:.9rem}
.about-cast{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.1rem;align-items:center}
.about-cast figure{margin:0;text-align:center}
.about-cast .skull-slot{width:64px;height:64px;border-radius:50%;border:2px solid #e53238;
  box-shadow:0 6px 16px rgba(0,0,0,.5), 0 0 14px rgba(229,50,56,.35);animation:tool-bob 5s ease-in-out infinite}
.about-cast figcaption{font-size:.72rem;font-weight:800;letter-spacing:.06em;margin-top:.25rem}
.about-me .btn{margin-top:1.1rem}

@media (prefers-reduced-motion: reduce){
  .skull-hero,.page-hero-card,.picker-tile{transform:none}
  .tool-avatar,.about-cast .skull-slot{animation:none}
}
