/* (1 Nov 2026, the user: "use the same back buttons, the same close buttons, a bit smaller, all on the right side of the screen")
   Every back / close button in the game is the one round ✕ (.xback, style.css "the ✕ back button"), in the top right corner,
   35 px (29 px on very short screens; it was 40 / 32). Loaded last so it wins over the older sizes in resort.css and lacquer.css.
   Windows with a header bar (Story, Leagues, Get Endheri, the Album) keep it at the right end of that bar. */
html body button.xback.xback.xback,html body .ivbox>.ivcard .ivx{width:35px !important; height:35px !important; min-height:0 !important; border-width:2.5px !important}
html body .xback::before{width:14px; height:14px}
@media (max-height:335px){ html body button.xback.xback.xback,html body .ivbox>.ivcard .ivx{width:29px !important; height:29px !important} html body .xback::before{width:12px; height:12px} }

/* in a header bar: in the bar's own row, at its right end */
html body :is(.lgbar,.stbar,#albumOv .atop,.tools) > button.xback.xback.xback{position:static !important; flex:none; align-self:center; margin:0 !important}
#albumOv .atop .backlink{order:99; margin-left:auto !important}
.stbar{grid-template-columns:1fr auto auto}
.stbar .stch{justify-self:center}

/* the home's back step (Games, Achievements, League): the same button, top right under the Store */
html body #hubOv button.xback.hubback{position:fixed !important; top:calc(62px + var(--safeT, 0px)); right:calc(16px + var(--safeR, 0px)); z-index:8}
html body #hubOv button.xback.hubback[hidden]{display:none !important}
@media (max-height:430px){ html body #hubOv button.xback.hubback{top:calc(52px + var(--safeT, 0px))} }
