:root { --plum: #8A5A86; --plum-deep: #66405F; --night: #2A2033; --cream: #FFFAF3; --ink: #5B4036; --muted: #77645A; --gold: #F4B546; --go: #2F8540; --go-lip: #236632; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 19px/1.65 "Fredoka", system-ui, sans-serif; }
a { color: var(--plum-deep); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(180deg, #3B2A48 0%, var(--plum-deep) 100%); }
.bar { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #FFF6EA; text-decoration: none; font-weight: 600; font-size: 22px; }
.brand img { border-radius: 10px; }
nav { white-space: nowrap; }
nav a { color: #EBDDF0; text-decoration: none; margin-left: 18px; font-weight: 500; }
main { padding-top: 36px; padding-bottom: 20px; }
h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.12; margin: 0 0 10px; font-weight: 600; color: var(--plum-deep); }
h2 { font-size: 28px; margin: 40px 0 8px; font-weight: 600; color: var(--plum-deep); }
.meta { color: var(--muted); margin: 0 0 24px; font-size: 17px; }
.lead { font-size: 21px; }
figure { margin: 26px 0; }
figure img, figure video { display: block; width: min(100%, 380px); margin: 0 auto; border-radius: 22px; box-shadow: 0 10px 30px rgba(91,64,54,.16); height: auto; }
figure video { aspect-ratio: 9 / 16; background: #1E1726; }
figcaption { text-align: center; color: var(--muted); font-size: 16px; padding-top: 10px; }
details { background: #fff; border-radius: 18px; padding: 14px 20px; margin: 0 0 12px; box-shadow: 0 4px 14px rgba(91,64,54,.06); }
summary { font-weight: 600; cursor: pointer; }
details p, details ol { margin: 10px 0 4px; }
ol.moves { padding-left: 26px; }
ol.moves b { display: inline-block; width: 1.4em; font-size: 22px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin: 34px 0 0; font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; padding: 0; list-style: none; }
.cards a { display: block; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 6px 20px rgba(91,64,54,.08); height: 100%; }
.cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 42%; display: block; }
.cards span { display: block; padding: 12px 16px 4px; font-weight: 600; color: var(--plum-deep); line-height: 1.3; }
.cards small { display: block; padding: 0 16px 14px; color: var(--muted); font-size: 15px; }
.cta { display: flex; align-items: center; gap: 18px; justify-content: space-between; background: #F3E9F2; border-radius: 22px; padding: 20px 24px; margin: 44px 0 28px; font-size: 17px; }
.btn { flex: none; display: inline-block; background: var(--go); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 16px; box-shadow: 0 5px 0 var(--go-lip); }
footer { background: var(--night); color: #CFC2D8; padding: 28px 0; font-size: 15px; }
footer a { color: var(--gold); }
@media (max-width: 600px) { .cta { flex-direction: column; text-align: center; } nav a { margin-left: 12px; font-size: 16px; } .brand { font-size: 19px; white-space: nowrap; } .brand img { width: 34px; height: 34px; } }
