:root{color-scheme:dark;font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;--paper:#f8f1dc;--muted:#bed2e7;--gold:#f9d79a}
*{box-sizing:border-box}
body{margin:0;color:var(--paper);background:radial-gradient(ellipse at 20% 5%,#4565a0,#232c58 48%,#111932 100%);overflow-x:hidden}
a{color:#f4dfad}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #8bffe6;outline-offset:3px}
button,select{font:inherit}
button{touch-action:manipulation;cursor:pointer}
button:disabled{opacity:.6;cursor:default}
.site-top,main,footer{max-width:1120px;width:calc(100% - 24px);margin:auto}
.site-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 0}
.site-top nav{display:flex;gap:8px;flex-wrap:wrap}
.site-top nav a,.primary{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:12px;background:#344776;text-decoration:none;font-weight:800}
.primary{background:#f9d79a;color:#263351}
.logo{font-size:1.1rem;font-weight:900}
.skip{position:absolute;left:10px;top:-100px;padding:10px;background:white;color:#11243e}
.skip:focus{top:10px}
h1,h2,h3{font-family:Georgia,serif;line-height:1.2}h1{font-size:clamp(2.3rem,6vw,4.2rem);margin:.3em 0}
h2{font-size:clamp(1.55rem,3vw,2rem)}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:900;color:#94f0de}
.intro{display:grid;grid-template-columns:1.4fr 0.8fr;gap:20px;align-items:center;padding:24px;border:2px solid #9da7d0;border-radius:24px;background:linear-gradient(145deg,#364775,#2a355d)}
.intro img{width:100%;height:100%;max-height:250px;object-fit:cover;border-radius:18px;border:2px solid #c6d6e4}
.workshop,.all-breeds,.info{margin:20px 0;padding:20px;background:#26375e;border:2px solid #92aec6;border-radius:22px}
.controls{display:grid;grid-template-columns:2.5fr 1fr;gap:10px 16px;align-items:center}
.controls label{font-weight:800}
.controls label:first-of-type{grid-column:1}
.controls label:nth-of-type(2){grid-column:2;grid-row:1}
.controls select{border:2px solid #abbed2;border-radius:12px;padding:12px;background:#18294c;color:#f7f5e8;min-height:48px;width:100%}
.controls select:first-of-type{grid-column:1;grid-row:2}
.controls select:nth-of-type(2){grid-column:2;grid-row:2}
.caption{font-size:.82rem;color:var(--muted)}
.art-stage{position:relative;isolation:isolate;display:grid;place-items:center;min-height:340px;border:3px solid #d9e3cd;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 50% 24%,#adbbdf,#597ca2 48%,#264a69 100%)}
.art-stage:after{content:"";position:absolute;bottom:-10%;width:85%;height:32%;border-radius:50%;background:#79aa9b;box-shadow:0 0 0 8px #cbd6c733,0 10px 35px #0006;z-index:-1}
.art-aura{position:absolute;width:240px;height:240px;top:13%;border-radius:50%;background:radial-gradient(circle,#faf6df36,transparent 72%);pointer-events:none}
.gallery-fighter{display:grid;place-items:center;min-height:275px;width:min(100%,350px);filter:drop-shadow(0 14px 13px #111d3699)}
.gallery-fighter svg{display:block;width:min(280px,85vw);height:290px;max-width:100%;overflow:visible}
.art-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:15px 0}
.art-meta>*{padding:9px;border:1px solid #849cbd;border-radius:10px;background:#17294c}
.art-meta strong{font-size:1.15rem}
.pose-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.pose-actions button{min-height:48px;padding:9px;border:2px solid #a6c1d2;background:#315579;color:#fff;border-radius:12px;font-weight:800}
.pose-actions button:hover:not(:disabled),.pose-actions button[aria-pressed="true"]{background:#5c689f;border-color:#f9dfa4}
#gallery-status{padding:12px;background:#122a44;border:1px solid #83bfbe;border-radius:12px;min-height:46px}
.all-breeds summary{cursor:pointer;padding:10px 0;font-weight:850;font-size:1.1rem}
.roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.roster button{display:flex;align-items:center;gap:8px;text-align:left;padding:6px;border:2px solid #89a6bc;border-radius:10px;background:#354771;color:#f4f2e9;min-height:65px;font-size:.82rem}
.roster button[aria-pressed="true"]{border-color:#f6d99b;background:#5a5380}
.roster-preview{flex:none;width:48px;height:48px;border-radius:10px;border:2px solid #d4c5b1;background-repeat:no-repeat;background-color:#697d96;background-size:cover}
.info{color:#e9eff7}
footer{padding:10px 0 24px;color:var(--muted);font-size:.85rem;text-align:center}
@media(max-width:760px){.intro{grid-template-columns:1fr}.intro img{max-height:190px}.roster{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:500px){.roster{grid-template-columns:repeat(2,minmax(0,1fr))}.controls{grid-template-columns:1fr}.controls label:first-of-type,.controls select:first-of-type,.controls label:nth-of-type(2),.controls select:nth-of-type(2){grid-column:1;grid-row:auto}.art-stage{min-height:300px}.gallery-fighter{min-height:270px}.gallery-fighter svg{height:260px}.art-meta{grid-template-columns:1fr}.workshop,.all-breeds,.info{padding:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
