.arithmetic-home { max-width:60rem; margin:auto; padding:3rem 1rem; text-align:center; }
.arithmetic-home h1 { margin:1rem 0; font-size:clamp(2.5rem,7vw,4.5rem); }
.arithmetic-home p { color:var(--muted); line-height:1.5; }
.arithmetic-games { display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin-top:2rem; }
.arithmetic-games a { display:grid; justify-items:center; gap:.6rem; width:min(100%,13rem); padding:1.5rem; border:1px solid var(--line); border-radius:1rem; background:var(--white); color:var(--ink); text-decoration:none; box-shadow:0 .45rem 1.4rem #183b2810; }
.arithmetic-games a:hover { border-color:var(--berry); }
.arithmetic-games span { display:grid; place-items:center; width:3.5rem; height:3.5rem; border-radius:.8rem; background:var(--purple); color:#f6d884; font-size:2rem; font-weight:800; }
.arithmetic-games strong { font-size:1.25rem; }

body:not(.barbara-theme) .minus-page h1 { color:var(--ink); }
body:not(.barbara-theme) .game-info summary { border-color:var(--berry); color:var(--ink); }
body:not(.barbara-theme) .game-info[open] summary::after { border-color:var(--line); background:var(--white); }
body:not(.barbara-theme) .game-info-bubble { border-color:var(--line); background:var(--white); color:var(--ink); box-shadow:0 .4rem 1rem #183b2833; }
body:not(.barbara-theme) .minus-card { border-color:var(--line); background:var(--white); color:var(--ink); }
body:not(.barbara-theme) .minus-card input { border-color:var(--line); background:var(--paper); color:var(--ink); }
body:not(.barbara-theme) .minus-card button:not(.minus-digit) { background:var(--yellow); color:#172e28; }
body:not(.barbara-theme) .minus-digit { color:var(--ink); }
body:not(.barbara-theme) .minus-digit:not(:disabled) { background:var(--lilac); color:#172e28; }
body:not(.barbara-theme) .minus-digit s { color:var(--muted); }
body:not(.barbara-theme) :is(.minus-bonus,.plus-carry,.multiplication-carry,.addition-carry,.division-remainder) { color:var(--berry); }
body:not(.barbara-theme) .multiplication-digit.active { color:#172e28; background:var(--lilac); }
body:not(.barbara-theme) .multiplication-arrow > path { stroke:var(--berry); }
body:not(.barbara-theme) .multiplication-arrow marker path { fill:var(--berry); }
body:not(.barbara-theme) :is(.minus-bottom,.multiplication-total) { border-color:var(--berry); }
body:not(.barbara-theme) .multiplication-cell::placeholder { color:var(--ink); }
