/* Longer translated labels wrap without changing control values or tap targets. */
html:not([lang^="zh"]) .catalog-filter-row__label{flex:0 0 5.5em;min-width:0;overflow-wrap:anywhere}
html:not([lang^="zh"]) .catalog-filter-row__options{min-width:0;flex-wrap:wrap}
html:not([lang^="zh"]) .catalog-chip,html:not([lang^="zh"]) .catalog-sort__item{white-space:normal;text-align:center}
html:not([lang^="zh"]) .ranking-v3__tabs,html:not([lang^="zh"]) .ranking-v3__periods,html:not([lang^="zh"]) .library-v6-tabs{flex-wrap:wrap}
html:not([lang^="zh"]) .library-v6-toolbar{flex-wrap:wrap;gap:8px}
.profile-settings-section-head{flex-wrap:wrap;gap:12px}
.profile-settings-section-head>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
.profile-settings-section-head p{max-width:100%;overflow-wrap:anywhere}
.profile-field{min-width:0}
.profile-field span{overflow-wrap:anywhere;min-width:0}
.profile-field input{min-width:0;max-width:100%;box-sizing:border-box}
.profile-button{white-space:normal;text-align:center}
[data-l10n-field="overview"]{white-space:pre-line}
html:not([lang^="zh"]) .nav__dropdown{width:max-content;min-width:140px;max-width:min(280px,85vw)}
html:not([lang^="zh"]) .nav__dropdown a{white-space:normal;overflow-wrap:anywhere}
html:not([lang^="zh"]) .catalog-sort-pill{white-space:normal;text-align:center;max-width:100%;height:auto;min-height:34px}
.profile-password-meter[hidden]{display:none!important}
.profile-password-meter{flex-wrap:wrap;max-width:100%}
.profile-password-meter small{white-space:normal;overflow-wrap:anywhere}
@media(max-width:900px){
 .profile-settings-grid{grid-template-columns:minmax(0,1fr)}
 .profile-settings-card,.profile-settings-summary{min-width:0;width:100%;box-sizing:border-box}
}
@media(max-width:600px){
 .profile-form-grid{grid-template-columns:minmax(0,1fr)}
 .profile-field--wide{grid-column:auto}
 html:not([lang^="zh"]) .ranking-v3__controls{flex-wrap:wrap}
 html:not([lang^="zh"]) .library-v6-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere}
 html:not([lang^="zh"]) .catalog-filter-row__label{flex-basis:4.5em}
 .profile-settings-actions{flex-wrap:wrap}
}

