/* site-footer.css — the site's footer (site/site-footer.mjs), on every page except the one where a game is played.
   Like the top bar (site-nav.css) it leans on no page sheet: it carries its own copy of the v3 tokens and every rule is
   scoped under .cv-foot. A page with the footer as a direct child of <body> is a column at least a window high, so the
   footer sits at the bottom of a short page and after the content of a long one. */

body:has(> .cv-foot){display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
body:has(> .cv-foot) > :not(.cv-foot){min-width:0}

.cv-foot{
  --ground:#0a0d12; --tone-3:#1f2a36; --ink:#e8ecf1; --dim:#93a0ad; --mint:#78d8aa; --mint-bright:#c8fce3; --coin:#ffc94d;
  --f-text:"Rubik","Segoe UI",system-ui,sans-serif;
  --gutter:24px;
  box-sizing:border-box;flex:none;margin:auto 0 0;width:100%;
  padding:32px var(--gutter) 24px;
  border-top:1px solid var(--tone-3);background:var(--ground);
  color:var(--dim);font:400 14px/1.5 var(--f-text);letter-spacing:normal;text-transform:none;text-align:left;
}
.cv-foot *,.cv-foot *::before,.cv-foot *::after{box-sizing:border-box}
.cv-foot p{margin:0}
.cv-foot a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.cv-foot__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;max-width:1920px;margin:0 auto}
.cv-foot__id{min-width:0;flex:1 1 320px}
.cv-foot__ai{margin-top:4px}
.cv-foot__go{display:flex;flex-wrap:wrap;gap:0 24px}
.cv-foot__go a{color:var(--mint);font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.cv-foot__go a:hover{color:var(--mint-bright)}
.cv-foot__legal{display:flex;flex-wrap:wrap;gap:0 24px;max-width:1920px;margin:4px auto 0}
.cv-foot__legal a{color:var(--dim);font-size:13px}
.cv-foot__legal a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.cv-foot a:focus-visible{outline:3px solid var(--coin);outline-offset:-3px;border-radius:6px}
@media (max-width:640px){
  .cv-foot{--gutter:16px;padding-top:24px}
  .cv-foot__id{flex-basis:100%}
  .cv-foot__go,.cv-foot__legal{column-gap:20px}
}
