/* Shared shell: use the prototype's logo, white header and language control. */
#chess-design header{gap:20px}#chess-design a.brand{text-decoration:none}#chess-design .shell-actions{margin-left:auto;display:flex;gap:10px;align-items:center}#chess-design .account-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--green);border-radius:12px;background:var(--green);color:white;font:inherit;font-size:14px;font-weight:600;text-decoration:none;text-align:center}#chess-design .account-entry:hover{background:#302d59}#chess-design a:focus-visible{outline:3px solid #a42f3c;outline-offset:3px}#chess-design .home-entry{color:var(--green);background:var(--soft);padding:10px 16px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:600}#chess-design .demo-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 44px;border-bottom:1px solid var(--line);background:#fafafd}#chess-design .demo-label{font-size:12px;color:var(--muted)}#chess-design .demo-tools #role-control{min-width:218px}#chess-design .demo-tools .role-caption{font-size:11px}#chess-design .demo-tools .role-switch button{min-height:36px;font-size:12px;padding:6px 12px}
@media(max-width:1150px){#chess-design header nav{order:3;flex-basis:100%}#chess-design .shell-actions{margin-left:auto}}
@media(max-width:720px){#chess-design header{grid-template-columns:minmax(0,1fr) auto;gap:14px 12px}#chess-design .shell-actions{grid-column:1/-1;justify-self:stretch;margin:0}#chess-design .account-entry{width:100%}#chess-design header nav{grid-column:1/-1;order:0}#chess-design .demo-tools{padding:12px 18px;flex-wrap:wrap}#chess-design .demo-tools #role-control{width:100%}}
