:root { color-scheme: light; font-family: "Avenir Next", "PingFang SC", sans-serif; color: #405570; background: #f5f8fc; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; grid-template-rows: 70px 1fr auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; font-size: 14px; }
a { color: #6489ad; text-decoration: none; }
main { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 12px 24px; background: radial-gradient(ellipse at 50% 58%, #e0eaf7 0, transparent 52%); }
main > p { margin: 0; font-size: 12px; color: #7e90a5; text-align: center; }
.art-preview { width: min(430px, 80vw); height: min(620px, calc(100dvh - 240px)); min-height: 220px; }
.character-art { width: 100%; height: 100%; min-height: 0; }
.character-art > img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
footer { display: flex; justify-content: center; padding: 18px 24px 26px; }
nav { display: flex; gap: 3px; border: 1px solid #e0e7ef; border-radius: 30px; background: #fff; padding: 5px; }
button { font: inherit; font-size: 13px; border: 0; border-radius: 30px; padding: 10px 16px; background: transparent; color: #6f859e; cursor: pointer; }
button:hover, button.is-active { background: #e8f0fa; color: #466c98; }
button:focus-visible, a:focus-visible { outline: 3px solid #7ca9d4; outline-offset: 3px; }
@media(max-width:650px) { header { padding: 0 18px; } main { padding-inline: 16px; } }
