/* The existing account destination, shared by the Art room and YouTube room. */
header.bar>.shell,header.room-bar>.room-shell{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand navigation account";align-items:center;column-gap:16px}
header.bar .brand,header.room-bar .room-brand{grid-area:brand}
header.bar nav,header.room-bar nav{grid-area:navigation;justify-self:end;min-width:0}
header .portfolio-account{grid-area:account;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #b4d5ee;border-radius:6px;background:linear-gradient(135deg,#63538a,#2c576d);color:#fff;text-decoration:none;font:inherit;white-space:nowrap}
header .portfolio-account:hover{background:linear-gradient(135deg,#7a62a4,#386e80);color:#fff}
header .portfolio-account:focus-visible{outline:3px solid #a9f0ff;outline-offset:4px}
@media(max-width:900px){
  header.bar>.shell,header.room-bar>.room-shell{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand account" "navigation navigation";gap:12px}
  header.bar nav,header.room-bar nav{justify-self:start}
}
@media(max-width:380px){
  header .portfolio-account{font-size:14px;padding-inline:10px}
  header .portfolio-account span{display:none}
  header.room-bar .room-brand{font-size:20px}
}
@media(forced-colors:active){
  header .portfolio-account,header .portfolio-account:hover{background:ButtonFace;color:ButtonText;border-color:ButtonText}
  header .portfolio-account:focus-visible{outline-color:Highlight}
}

/* Match the owner-selected wordmark; native forced colors remain available. */
header.room-bar .room-brand{color:#f2f5ff}
header.room-bar .room-brand .brand-dot{color:#ff9ddd}
@media(forced-colors:active){header.room-bar .room-brand,header.room-bar .room-brand .brand-dot{color:LinkText}}
