/* Full illustration for welcome; a quiet emblem-and-type lockup fits the menu. */
.game-brand img{display:block;object-fit:contain;image-rendering:auto;flex:none}
.sidebar .game-brand{display:flex;width:180px;max-width:100%;min-height:54px;gap:8px;line-height:1;letter-spacing:normal;align-items:center;text-decoration:none}
.sidebar .game-brand .brand-mark{width:46px;height:46px}
.sidebar .game-brand .brand-lockup{display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}
.sidebar .game-brand .brand-name{display:block;color:var(--red);font:700 20px/.95 Georgia,'Times New Roman',serif;letter-spacing:-.07em;white-space:nowrap}
.sidebar .game-brand .brand-subtitle{display:block;margin:0;color:var(--ink);font:700 7px/1 'DM Sans',Arial,sans-serif;letter-spacing:1.65px;white-space:nowrap}
.sidebar .game-brand:hover .brand-name{color:#90281f}
.sidebar .game-brand:focus-visible{border-radius:3px}
.account-story .game-brand{display:block;width:min(100%,330px);height:auto;margin-inline:auto}
.account-story .game-brand .brand-splash{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:0}
.account-story .game-brand .brand-mark{display:none}
.setup-game-logo{display:block;width:235px;max-width:75%;height:auto;object-fit:contain;image-rendering:auto;margin:0 0 16px}
.dojo-brand-mark{display:none;object-fit:contain;image-rendering:auto;flex:none}
html[data-account="checking"] .account-wrap{width:min(500px,100%);grid-template-columns:1fr}
html[data-account="checking"] .account-story{align-items:center;justify-content:center;padding:26px}
html[data-account="checking"] .account-story .game-brand{width:auto;margin:0}
html[data-account="checking"] .account-content{text-align:center;padding:22px 26px 28px}
html[data-account="checking"] .account-loading{padding:4px 0;font-size:18px}
html[data-account="checking"] .account-local-note{display:none}
html[data-account="checking"] .account-story .brand-splash,
html[data-account="checking"] .account-story h2,
html[data-account="checking"] .account-story p,
html[data-account="checking"] .account-browser-note{display:none}
html[data-account="checking"] .account-story .brand-mark{display:block;width:120px;height:120px;background:#fbf6f0;border-radius:10px;padding:8px}
@media(max-width:960px) and (min-width:651px){
 .sidebar .game-brand{width:52px;height:52px}
 .sidebar .game-brand .brand-mark{display:block;width:52px;height:52px}
 .sidebar .game-brand .brand-lockup{display:none}
}
@media(max-width:1180px) and (min-width:961px){
 .sidebar .game-brand{width:151px;gap:6px}
 .sidebar .game-brand .brand-mark{width:40px;height:40px}
 .sidebar .game-brand .brand-name{font-size:18px}
 .sidebar .game-brand .brand-subtitle{font-size:6.4px;letter-spacing:1.4px}
}
@media(max-width:780px){
 .account-story .game-brand{width:220px;max-width:100%;margin:0 auto}
 .setup-game-logo{max-width:80%;width:190px;margin-bottom:12px}
 html[data-account="checking"] .account-story .brand-mark{width:72px;height:72px;padding:5px}
}
@media(max-width:650px){
 .sidebar .game-brand{display:none}
 .dojo-stage-title .dojo-brand-mark{display:block;width:32px;height:32px}
 .dojo-stage-title{align-items:center}
 .dojo-stage-title strong{flex:1;min-width:0}
 .dojo-stage-title>span{max-width:32%;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.game-brand img,.dojo-brand-mark{animation:none;transition:none}}
