/* ============================================================================
   Degen Dojo SKIN — WASHI DARK, page look (owner 11-14). Added by apply-skin.mjs to every page EXCEPT the games
   (their canvases draw their own text). CSS only. Off with --old-skin.
   1. The old display face Cinzel is re-pointed at the new site's faces: bold weights (titles, prices) → Shippori Mincho B1,
      the light weights (menus, labels, buttons) → Inter. Every inline style and script that names 'Cinzel' follows without
      being edited; text already set in another face is not touched.
   2. Colours: the build swaps the old blue-blacks for the Washi paper-darks (SKIN_HEX in apply-skin.mjs).
   ========================================================================== */
@font-face{font-family:"Cinzel";src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0I5nvwU.woff2) format("woff2");
  font-weight:100 600;font-style:normal;font-display:swap;size-adjust:94%;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cinzel";src:url(https://fonts.gstatic.com/s/shipporiminchob1/v24/wXK1E2wCr44tulPdnn-xbIpJ9RgT9-nKMo9_2XKg.woff2) format("woff2");
  font-weight:700 750;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Cinzel";src:url(https://fonts.gstatic.com/s/shipporiminchob1/v24/wXK1E2wCr44tulPdnn-xbIpJ9RgT9-nKLox_2XKg.woff2) format("woff2");
  font-weight:751 900;font-style:normal;font-display:swap;
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

body{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif}
::selection{background:#d63c2e;color:#fff}

/* the miner app (/mine, /whitelabel, /create: Next + Tailwind): its blue-slate theme → Washi dark, red accent */
html.dark{--background:#16110e;--foreground:#e6dccb;--card:#1e1814;--card-foreground:#e6dccb;--popover:#1e1814;--popover-foreground:#e6dccb;
  --secondary:#241d18;--muted:#241d18;--accent:#241d18;--muted-foreground:#a89a86;--border:#3b2f27;--input:#3b2f27;
  --primary:#d63c2e;--ring:#d63c2e;--sidebar:#16110e;
  --color-slate-700:#3b2f27;--color-slate-800:#2a221c;--color-slate-900:#1e1814;--color-slate-950:#16110e
  /* owner 11-16: the main page's flat near-black everywhere, no warm/brown tint: the stone scale follows the site palette */
  ;--color-stone-950:#100c0a;--color-stone-900:#1e1814;--color-stone-800:#2a221c;--color-stone-700:#3b2f27}
/* the miner/sim page itself: the same flat #16110e as the main site (no amber glows, gold veins or grain) */
html.dark .mine-cave{background:#16110e!important}

/* the miner in LIGHT (owner 11-14: "mine should open in beige like the main website"): follows the visitor's screen,
   ☀/☾ in the menu switches it (html[data-theme]). Tailwind's stone / amber / red scales are re-pointed at paper + ink,
   so every class in the app follows; buttons keep their white text. The wooden grid frame stays as it is. */
@media (prefers-color-scheme:light){html.dark:not([data-theme="dark"]){--background:#efe6d3;--foreground:#1d1712;--card:#e8dec9;--card-foreground:#1d1712;--popover:#efe6d3;--popover-foreground:#1d1712;
  --secondary:#e3d8c1;--secondary-foreground:#1d1712;--muted:#e3d8c1;--accent:#e3d8c1;--accent-foreground:#1d1712;--muted-foreground:#65564a;--border:#cdbf9f;--input:#cdbf9f;
  --primary:#b8231f;--primary-foreground:#fff;--ring:#b8231f;--sidebar:#efe6d3;
  --color-stone-950:#efe6d3;--color-stone-900:#e8dec9;--color-stone-800:#ddd1b6;--color-stone-700:#c4b493;--color-stone-600:#a8977a;
  --color-stone-500:#75665a;--color-stone-400:#5f5145;--color-stone-300:#3d3229;--color-stone-200:#2a221b;--color-stone-100:#1d1712;
  --color-slate-400:#5f5145;
  --color-amber-100:#5e3a0c;--color-amber-200:#6f440e;--color-amber-300:#80500f;--color-amber-400:#8f5d12;--color-amber-500:#bd8a33;--color-amber-600:#a36a18;
  --color-amber-700:#b07a28;--color-amber-900:#d9b06c;--color-amber-950:#e8c88e;
  --color-red-200:#8e2016;--color-red-300:#a3261b;--color-red-400:#b8231f;--color-red-500:#c63a2c;--color-red-600:#b8231f;--color-red-900:#dba596;--color-red-950:#efc8bb;
  --color-emerald-200:#276a2c;--color-emerald-300:#2f7a35;
  color-scheme:light}}
html.dark[data-theme="light"]{--background:#efe6d3;--foreground:#1d1712;--card:#e8dec9;--card-foreground:#1d1712;--popover:#efe6d3;--popover-foreground:#1d1712;
  --secondary:#e3d8c1;--secondary-foreground:#1d1712;--muted:#e3d8c1;--accent:#e3d8c1;--accent-foreground:#1d1712;--muted-foreground:#65564a;--border:#cdbf9f;--input:#cdbf9f;
  --primary:#b8231f;--primary-foreground:#fff;--ring:#b8231f;--sidebar:#efe6d3;
  --color-stone-950:#efe6d3;--color-stone-900:#e8dec9;--color-stone-800:#ddd1b6;--color-stone-700:#c4b493;--color-stone-600:#a8977a;
  --color-stone-500:#75665a;--color-stone-400:#5f5145;--color-stone-300:#3d3229;--color-stone-200:#2a221b;--color-stone-100:#1d1712;
  --color-slate-400:#5f5145;
  --color-amber-100:#5e3a0c;--color-amber-200:#6f440e;--color-amber-300:#80500f;--color-amber-400:#8f5d12;--color-amber-500:#bd8a33;--color-amber-600:#a36a18;
  --color-amber-700:#b07a28;--color-amber-900:#d9b06c;--color-amber-950:#e8c88e;
  --color-red-200:#8e2016;--color-red-300:#a3261b;--color-red-400:#b8231f;--color-red-500:#c63a2c;--color-red-600:#b8231f;--color-red-900:#dba596;--color-red-950:#efc8bb;
  --color-emerald-200:#276a2c;--color-emerald-300:#2f7a35;
  color-scheme:light}
@media (prefers-color-scheme:light){html.dark:not([data-theme="dark"]) .mine-cave{background:#efe6d3 radial-gradient(56rem 26rem at 12% -6%,rgba(184,35,31,.06),transparent 62%)!important}}
html.dark[data-theme="light"] .mine-cave{background:#efe6d3 radial-gradient(56rem 26rem at 12% -6%,rgba(184,35,31,.06),transparent 62%)!important}

/* Practise mode (/mine/sim): GOLD accent instead of red on the dark paper (owner 11-15). Light paper keeps the red seal. */
html.dark .sim-gold{--primary:#e2b04a;--primary-foreground:#1a130d;--ring:#e2b04a}
@media (prefers-color-scheme:light){html.dark:not([data-theme="dark"]) .sim-gold{--primary:#b8231f;--primary-foreground:#fff;--ring:#b8231f}}
html.dark[data-theme="light"] .sim-gold{--primary:#b8231f;--primary-foreground:#fff;--ring:#b8231f}

/* owner 11-16: "make the background same black like the main page and use this color for the whole website" — every store
   page's body is the main site's flat #16110e (paper #efe6d3 in light), no warm radial glow behind it. Panels keep their look. */
html.wl body{background:#16110e!important;background-image:none!important}
@media (prefers-color-scheme:light){html.wl:not([data-theme="dark"]) body{background:#efe6d3!important;background-image:none!important}}
html.wl[data-theme="light"] body{background:#efe6d3!important;background-image:none!important}
