/* Purple Vector shared look for the website pages (homepage, later gallery / news).
   The values are copied from the game's own styles in index.html (menu C, #pvMenuC + #pvUnify),
   which stay inline there so the game keeps working as one file (Claude artifact copy).
   If you change a colour here, change it in index.html too. */

/* ---- palette: light (default) ---- */
:root{
  --mv-bg:#f5f5f2;--mv-ink:#111318;--mv-sub:#565a64;
  --c-panel:#e9e9e3;--c-line:#cfcfc6;--c-dis:#8a8e97;
  --brand:#7714f6;--pv-logo:#5900e5;
  /* row / page colours (same as the game's menu rows) */
  --red:#e8253f;--orange:#ff7a1a;--yellow:#ffc21a;--green:#1fc98e;--blue:#2b63f0;--sky:#7fd3ea;--pink:#ff5ca8;
  color-scheme:light dark;
}
/* ---- dark: chosen with the theme button (data-ui="dark"), or the device setting when no choice was made ---- */
:root[data-ui="dark"]{--mv-bg:#0f1115;--mv-ink:#f2f2ee;--mv-sub:#a0a6b1;--c-panel:#161920;--c-line:#2b3039;--c-dis:#7c828d;--brand:#a97cff;--pv-logo:var(--mv-ink)}
@media (prefers-color-scheme:dark){:root:not([data-ui]){--mv-bg:#0f1115;--mv-ink:#f2f2ee;--mv-sub:#a0a6b1;--c-panel:#161920;--c-line:#2b3039;--c-dis:#7c828d;--brand:#a97cff;--pv-logo:var(--mv-ink)}}

/* ---- page ---- */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;background:var(--mv-bg);color:var(--mv-ink)}
body{font:400 15px/1.5 Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
.pv-wrap{max-width:1312px;margin:0 auto;padding:0 64px}
@media (max-width:820px){.pv-wrap{padding:0 16px}}

/* ---- logo (inline SVG) ---- */
.pv-logo{display:block;width:100%;height:auto;fill:var(--pv-logo);overflow:visible}

/* ---- titles and small text ---- */
.pv-title{font:italic 900 34px/1 Saira,system-ui,sans-serif;text-transform:uppercase;letter-spacing:.005em;margin:0}
.pv-sec{font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--mv-sub)}

/* ---- buttons: square corners, Saira 600, 2px outline; .pri = filled in the page colour (--pc) ---- */
.pv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;min-width:150px;padding:0 22px;border:2px solid var(--mv-ink);border-radius:0;background:transparent;color:var(--mv-ink);font:600 16px Saira,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.pv-btn:hover{background:var(--c-panel)}
.pv-btn.pri{border-color:var(--pc,var(--mv-ink));background:var(--pc,var(--mv-ink));color:var(--pct,var(--mv-bg))}
.pv-btn.pri:hover{filter:brightness(1.08)}
.pv-btn:disabled,.pv-btn.soon{border:1.5px dashed var(--c-dis);background:transparent;color:var(--c-dis);cursor:default;filter:none}

/* ---- icon buttons (theme switch), like the game's top bar ---- */
.pv-ico{width:40px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:0;padding:0;background:transparent;cursor:pointer;color:var(--mv-ink)}
.pv-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pv-ico:hover{color:#ffc61a}
.pv-ico .sun{display:none}
:root[data-ui="dark"] .pv-ico .sun{display:block}:root[data-ui="dark"] .pv-ico .moon{display:none}

/* ---- menu rows (the game's main-menu rows): colour square with number, label + line, arrow ----
   set the row colour with --rc (and --rt for the number ink) on each row */
.pv-nav{border-top:1px solid var(--c-line)}
.pv-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto 28px;align-items:center;column-gap:18px;width:100%;min-height:64px;margin:0;padding:8px 0;border:0;border-bottom:1px solid var(--c-line);background:transparent;color:var(--mv-ink);text-align:left;text-decoration:none;font:inherit;cursor:pointer;transition:background .12s}
a.pv-row:hover{background:color-mix(in srgb,var(--rc) 9%,transparent)}
.pv-row:focus-visible{outline:3px solid var(--rc);outline-offset:-3px}
.pv-row .sq{width:56px;height:48px;display:flex;align-items:flex-end;padding:5px 7px;background:var(--rc);color:var(--rt,#111318)}
.pv-row .sq i{font:normal 700 12px Inter,system-ui,sans-serif}
.pv-row .t{display:flex;flex-direction:column;gap:5px;min-width:0}
.pv-row .t b{font:italic 900 26px/1 Saira,system-ui,sans-serif;text-transform:uppercase;white-space:nowrap}
.pv-row .t small{font:700 12px Inter,system-ui,sans-serif;color:var(--mv-sub);overflow-wrap:anywhere}
.pv-row .cnt{font:700 12px Inter,system-ui,sans-serif;color:var(--mv-sub);white-space:nowrap}
.pv-row .arr{width:28px;height:28px;fill:none;stroke:var(--ra,var(--rc));stroke-width:3.5;stroke-linejoin:miter;transition:transform .2s}
a.pv-row:hover .arr{transform:translateX(4px)}
:root[data-ui="dark"] .pv-row{--ra:var(--rc)}
/* coming soon: grey, dashed square, not clickable */
.pv-row.soon{color:var(--c-dis);cursor:default}
.pv-row.soon .sq{background:transparent;color:var(--c-dis);border:1.5px dashed var(--c-dis)}
.pv-row.soon .t small{color:var(--c-dis)}.pv-row.soon .arr{stroke:var(--c-dis)}
@media (max-width:820px){.pv-row{column-gap:14px}.pv-row .t b{font-size:21px}}

/* ---- big start button (the game's START on the race setup pages): 240x96, Saira 900 italic caps, filled ---- */
.pv-start{display:inline-flex;align-items:center;justify-content:center;width:240px;height:96px;padding:0;border:0;border-radius:0;background:var(--pc,var(--brand));color:var(--pct,#fff6e4);font:italic 900 34px Saira,system-ui,sans-serif;text-transform:uppercase;text-decoration:none;cursor:pointer}
.pv-start:hover{filter:brightness(1.1)}
@media (max-width:820px){.pv-start{width:100%;height:72px;font-size:30px}}
