.header-right{display:flex;align-items:center;gap:20px;min-width:0}
.language-picker{display:inline-flex;align-items:center;gap:5px;flex-shrink:0}
.language-picker select{min-height:42px;max-width:68px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-page);color:var(--ui-muted);padding:0 8px;font-size:12px;font-weight:600;cursor:pointer}
.language-picker select:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}
.header-actions .button .start-label{font:inherit;display:inline}
@media(max-width:1100px){.header-right{gap:12px}}
@media(max-width:760px){.header-right{gap:9px}.language-picker select{min-height:38px;max-width:59px;font-size:11px;padding:0 5px}.header{gap:10px}.header nav{margin-left:auto}.header-actions .button .signed-label{display:inline;font:inherit}}
@media(max-width:460px){.header{height:auto;min-height:76px;padding:13px 5%;flex-wrap:wrap;row-gap:10px}.header .wordmark{font-size:27px}.header-right{margin-left:auto}.header-actions .button{font-size:10px;padding:0 9px}.header nav{order:3;width:100%;margin:0;justify-content:center;border-top:1px solid var(--ui-line);padding-top:10px}.header nav .how-link{display:block}}

/* Keep personal collection titles readable for the full supported username length. */
.collection-hero-title,.profile-heading h1{overflow-wrap:anywhere}
.profile-heading{min-width:0;max-width:100%}
.header-actions .button .signed-label{font:inherit;display:block;max-width:180px;white-space:normal;line-height:1.25;overflow-wrap:anywhere;text-align:left}
@media(max-width:760px){.header-actions .button .signed-label{max-width:125px;font-size:10px}.header-actions .button{padding-top:6px;padding-bottom:6px}}


/* Currency integration may mount its labeled control beside language here. */
.header-preferences{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.header-preferences>label{flex-shrink:0}
.header-preferences select{min-height:42px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-page);color:var(--ui-muted);padding:0 8px;font-size:12px;font-weight:600;cursor:pointer}
.header-preferences select:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}
@media(max-width:760px){.header-preferences{gap:6px}.header-preferences select{min-height:38px;font-size:11px}}
@media(max-width:460px){.header-right{flex-wrap:wrap;justify-content:flex-end}.header-preferences{justify-content:flex-end}.header-preferences:has(> :nth-child(2)){flex-basis:100%}}
