/* Everlogs: site template for type and rules; bone, spruce, sage and clay inside its own pieces */
.ev { --ev-bone: #EFEBE0; --ev-spruce: #12282B; --ev-sage: #C6C8A6; --ev-clay: #B86E55; --ev-disp: "Ysabeau Office", "Optima", sans-serif; }
.ev svg { display: block; } .ev figure { margin: 0; } .ev-ch { border-top: 0; }
.ev-run { display: grid; gap: 0; } .ev-gap { margin-top: clamp(10px, 1.2vw, 18px); } .ev-p img { display: block; width: 100%; height: auto; }
.ev-ways { padding: 0 var(--g); }
.ev-stage { position: relative; aspect-ratio: 16 / 7; display: grid; place-items: center; border-radius: 6px; background: var(--b); color: var(--w); transition: background .5s, color .5s; }
.ev-stage .ev-word { width: 56%; max-width: 56%; height: auto; justify-self: center; } .ev-stage span { position: absolute; left: 20px; bottom: 16px; font: 500 11px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.ev-dots { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; }
.ev-dots button { appearance: none; width: 44px; height: 44px; padding: 3px; border: 1px solid transparent; border-radius: 50%; background: none; cursor: pointer; }
.ev-dots i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, var(--w) 0 28%, var(--b) 30%); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.ev-dots button[aria-pressed="true"] { border-color: currentColor; }
.ev-sw { display: flex; margin: 0 var(--g); min-height: 380px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule, rgb(0 0 0 / .1)); }
.ev-sw button { appearance: none; border: 0; min-width: 0; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; cursor: copy; }
.ev-sw b { font: 300 34px/1 var(--ev-disp); } .ev-sw code { font: 500 11px/1.7 "Geist Mono", monospace; background: none; padding: 0; color: inherit; }
.ev-sw button:focus-visible { outline: 2px solid currentColor; outline-offset: -8px; }
.ev-note { margin: 0; padding: 22px var(--g) 0; font: 500 11px/1.5 "Geist Mono", monospace; letter-spacing: .04em; color: var(--soft, #666); max-width: 90ch; }
@media (max-width: 899px) { .ev-sw { flex-direction: column; } .ev-sw button { flex: none !important; min-height: 100px; width: 100%; } .ev-stage { aspect-ratio: 4 / 3; } .ev-stage .ev-word { width: 78%; max-width: 78%; } }
