/* Keep every control reachable on a narrow portrait screen. */
html{width:100%;overflow-x:hidden}
.journey-top>div:first-child{min-width:0}
.journey-top-actions{flex-shrink:0}
#journey-close{position:relative;z-index:4;flex:0 0 40px;min-width:40px;min-height:40px}
@media(max-width:650px){
 .journey-top{align-items:flex-start}
 .journey-top-actions{display:grid;grid-template-columns:minmax(0,100px) 40px;gap:5px;max-width:145px}
 .journey-top-actions button:first-child{width:100%;min-width:0}
 .journey-top-actions #journey-close{width:40px;padding:9px}
}
@media(orientation:portrait) and (max-width:650px){
 .topbar{height:73px;min-height:73px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding-bottom:5px}
 .topbar .brand{height:28px;min-height:28px;justify-content:center}
 .topbar .brand-mark{width:26px;height:26px}
 .topbar .brand-text small{display:none}
 .topbar .top-actions{width:100%;min-width:0;justify-content:space-between;gap:3px}
 .topbar .top-actions>*{flex-shrink:0}
 body.is-playing .topbar{height:73px;min-height:73px;flex:0 0 73px;display:flex;flex-direction:column;align-items:stretch;gap:4px;padding-bottom:5px}
 body.is-playing .topbar .brand{height:28px;min-height:28px;justify-content:center}
 body.is-playing .topbar .brand-mark{width:26px;height:26px}
 body.is-playing .topbar .brand-text small{display:none}
 body.is-playing .topbar .top-actions{width:100%;min-width:0;justify-content:space-between;gap:3px}
 body.is-playing .topbar .top-actions>*{flex-shrink:0}
 body.is-playing .topbar .round-btn{width:31px;height:31px}
 body.is-playing .topbar .account-btn{display:block;max-width:65px;min-width:40px}
}
