:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
       background: #F6F5F2; color: #111216; line-height: 1.55; }
main { max-width: 680px; margin: 0 auto; padding: 32px 20px 48px; }
header.site { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
header.site a { color: #4F46E5; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; text-decoration: none; }
header.site img { width: 32px; height: 32px; border-radius: 8px; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 8px; }
h2 { font-size: 19px; margin: 28px 0 8px; }
p, li { color: #2A2C33; }
.muted { color: #6B6E78; font-size: 14px; }
a { color: #4F46E5; }
ul { padding-left: 20px; }
.button { display: block; text-align: center; padding: 16px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; margin: 12px 0; }
.primary { background: #0E9F63; color: #fff; }
.secondary { background: #fff; color: #111216; border: 1px solid #E3E1DB; }
.card { background: #fff; border-radius: 16px; padding: 20px; margin: 16px 0; }
.links { display: grid; gap: 8px; margin: 24px 0; }
.links a { background: #fff; border-radius: 12px; padding: 14px 16px; text-decoration: none; color: #111216; font-weight: 600; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid #E3E1DB; font-size: 13px; color: #6B6E78; }
footer a { color: #6B6E78; }
.center { text-align: center; }
img.cardimg { width: 220px; max-width: 70%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 12px;
              box-shadow: 0 8px 24px rgba(17,18,22,0.18); display: block; margin: 0 auto 20px; }
.price { display: inline-block; background: #ECEDFE; color: #4338CA; border-radius: 16px; padding: 10px 18px; font-size: 26px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.tile { background: #fff; border-radius: 12px; padding: 8px; font-size: 13px; }
.tile img, .tile .blank { width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 8px; background: #ECEBE7; display: block; }
.tile b { display: block; margin-top: 6px; font-size: 14px; }
a.tile { color: #111216; text-decoration: none; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: inline-block; margin-bottom: 8px; }
.blankavatar { background: #ECEDFE; color: #4338CA; font-size: 40px; font-weight: 800; line-height: 96px; text-align: center; }
