/* Bolt skin: the default. Every token in the web skin contract (SKIN-CONTRACT.md) is set here.
   A skin is one CSS file that sets these properties under :root and/or [data-skin="<name>"].
   Colours are provisional (shoot 1 + round 1 picks): resample from shoot 2 masters. */

:root,
[data-skin="bolt"] {
  /* ── Materials (colour) ───────────────────────── */
  --skin-wood:          #c47a2c;  /* quilted maple, mid tone */
  --skin-wood-deep:     #7e4518;  /* shadowed quilt, outlines */
  --skin-wood-light:    #e3a25a;  /* figure highlight */
  --skin-metal:         #c9a13e;  /* brass: gold-leaning per Hunter's round 1 picks */
  --skin-metal-light:   #f0d27a;  /* polished, hand-worn highlight */
  --skin-metal-shadow:  #5e4614;  /* recess and underside */
  --skin-patina:        #5f8f7c;  /* verdigris: recesses only, keep it subtle */
  --skin-accent:        #6b2430;  /* maroon pinstripe: links, rules */
  --skin-inlay:         #f8e5bd;  /* cream ring / pearl */
  --skin-recess:        #1b120a;  /* screw slots, holes, cavity */

  /* ── Surfaces and text ─────────────────────────── */
  --skin-bg:            #2a170b;  /* page ground behind the wood (shows at edges, overscroll) */
  --skin-panel:         #3a2412;  /* console / module panel (round 1: green-brown console) */
  --skin-panel-tex-tint:#2f3a24;  /* green cast for console panels */
  --skin-text:          #f8e5bd;  /* cream on dark */
  --skin-text-muted:    #d9bf8f;
  --skin-ink:           #17120d;  /* dark text on light inlays */
  --skin-link:          #f0d27a;
  --skin-focus:         #f0d27a;

  /* ── Screen (pickup screen, terminal panels) ───── */
  --skin-screen-bg:     #0b0b0a;
  --skin-screen-text:   #f2f0ea;  /* black and white, per Hunter */
  --skin-screen-dim:    #8d8a83;
  --skin-cursor:        #f2f0ea;

  /* ── Shape ─────────────────────────────────────── */
  --skin-radius-plate:  4px;      /* brass plates are nearly square */
  --skin-radius-screen: 10px;     /* pickup cavity corners */
  --skin-radius-control:999px;
  --skin-piping-size:   6px;      /* thickness of brass piping */
  --skin-bezel-size:    18px;     /* brass surround around a screen */
  --skin-screw-size:    14px;
  --skin-bevel-depth:   1;        /* 0 = flat, 1 = default, 2 = deep. Multiplies every bevel */

  /* ── Type ──────────────────────────────────────── */
  --skin-font-display:  "Young Serif", Georgia, "Times New Roman", serif;
  --skin-font-body:     "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --skin-font-screen:   "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* ── Raster slots (any CSS <image>: url(), image-set(), or a gradient stand-in) ──
     Swap the stand-ins for 2048 px seamless masters when they exist, e.g.
     --slot-wood: image-set(url(/bolt/wood/quilt-front-2048.jpg) 2x);              */
  --slot-wood:
    radial-gradient(120% 60% at 30% 20%, rgb(255 210 140 / .35), transparent 60%),
    repeating-linear-gradient(100deg, rgb(255 220 160 / .10) 0 7px, rgb(90 40 10 / .12) 7px 15px),
    linear-gradient(160deg, #d38a3a, #a85f22 55%, #7e4518);
  --slot-wood-size:     auto;     /* set to e.g. 512px when a 2048 px tile is plugged in */
  --slot-metal:
    linear-gradient(180deg, #f0d27a, #c9a13e 45%, #9c7a26 70%, #c9a13e);
  --slot-metal-size:    auto;
  --slot-panel:
    radial-gradient(140% 90% at 20% 0%, rgb(120 140 90 / .18), transparent 60%),
    linear-gradient(180deg, #33301c, #262414);
  --slot-panel-size:    auto;
}
